package jw3.c10.controllner;

import jw3.c10.model.Scenicspot;
import jw3.c10.utils.QueryByClass;

import java.util.List;

public class ScenicspotController {
    public static List<Scenicspot> getAll(){
        String sql="select * from scenicspot ";
        QueryByClass<Scenicspot> qc=new QueryByClass<Scenicspot>();
        return qc.select(Scenicspot.class,sql);
    }
}
